
package com.insigma.business.qrcode.soldier.service;




import com.insigma.business.qrcode.soldier.dto.PlacementPositionInfoBSearcher;
import com.insigma.business.qrcode.soldier.entity.PlacementPositionInfoDO;

import java.util.List;


public interface PlacementPositionInfoService {

   
    List<PlacementPositionInfoDO> search(final PlacementPositionInfoBSearcher innerSearcher);

    
    PlacementPositionInfoDO get(final String id);

    
    Integer insert(final PlacementPositionInfoDO placementPositionInfo);

    
    Integer update(final PlacementPositionInfoDO placementPositionInfo);

    
    Integer delete(final String id, final String modifierType, final String modifierId);

 
 List<PlacementPositionInfoDO> listByBatchId(String batchId);

    Integer publishAllPosition(String id, String modifierId, String modifierType);

    PlacementPositionInfoDO getByUnitNameAndNameAndType(String unitName, String name, String type);

    Integer transferQuota(String from, String to, Integer quota);

    List<PlacementPositionInfoDO> listByIdCardNoAndBatchType(String idCardNo, String type);

    PlacementPositionInfoDO getByBatchIdAndUnitAndName(String currentBatchId, String unitId, String name);

    PlacementPositionInfoDO getByCode(String code);
}
